home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / Bonus / Plasmatech / ptscp_examples.exe / %MAINDIR% / Examples / NetworkTree / CBuilder / FMain.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-08-31  |  1.3 KB  |  38 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef FMainH
  3. #define FMainH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include "UPTFrame.hpp"
  10. #include "UPTShellControls.hpp"
  11. #include "UPTTreeList.hpp"
  12. #include <vcl\ComCtrls.hpp>
  13. #include <vcl\Menus.hpp>
  14. //---------------------------------------------------------------------------
  15. class TFrmMain : public TForm
  16. {
  17. __published:    // IDE-managed Components
  18.     TPTGroup *CompLabel;
  19.     TLabel *Label1;
  20.     TLabel *Label2;
  21.     TPTShellTree *PTShellTree1;
  22.     TPTFrame *PTFrame1;
  23.     TMainMenu *MainMenu1;
  24.     TMenuItem *File1;
  25.     TMenuItem *Exit1;
  26.     void __fastcall PTShellTree1Change(TObject *Sender, TTreeNode *Node);
  27.     void __fastcall Exit1Click(TObject *Sender);
  28. private:    // User declarations
  29.     int FComputerIndex;
  30.     void __fastcall SetFrameText( AnsiString aName );
  31. public:        // User declarations
  32.     __fastcall TFrmMain(TComponent* Owner);
  33. };
  34. //---------------------------------------------------------------------------
  35. extern TFrmMain *FrmMain;
  36. //---------------------------------------------------------------------------
  37. #endif
  38.